package cn.hyy.hrm.client.impl;


import cn.hyy.basic.util.AjaxResult;
import cn.hyy.hrm.client.FileClient;
import feign.Response;
import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;
@Component
public class FileClientImpl implements FileClient {
    @Override
    public AjaxResult upload(MultipartFile file) {
        return AjaxResult.me().setSuccess(false).setMessage("上传失败!");
    }

    @Override
    public Response download(String fileId) {
        return null;
    }

    @Override
    public AjaxResult delete(String fileId) {
        return AjaxResult.me().setSuccess(false).setMessage("删除失败!");
    }
}
